1
//ECHibiki. For testing station interactions 23, 26 and movement 30
2 using System
.Collections
;
3 using System
.Collections
.Generic
;
6 public class TestPlayer23
: MonoBehaviour
{
8 public float drive_x_warp
;
9 public float drive_y_warp
;
10 public float idle_x_warp
;
11 public float idle_y_warp
;
13 MovementToStationConnector movement_station_abstraction
;
15 PlayerStationBehaviour player_station_behaviour
;
16 CatMovement cat_movement
;
19 // Use this for initialization
21 player_station_behaviour
= new PlayerStationBehaviour();
22 // player_station_behaviour.init (this);
23 cat_movement
= gameObject
.GetComponent (typeof(CatMovement
)) as CatMovement
;
25 movement_station_abstraction
= new MovementToStationConnector ();
26 movement_station_abstraction
.init (player_station_behaviour
, cat_movement
);
29 // Update is called once per frame
32 movement_station_abstraction
.update ();